package com.yq.design.iterator;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName Client
 * @Description TODO
 * @Author yaoqiang
 * @Date 2021/8/24 10:27
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        List<College>list=new ArrayList<College>();
        list.add(new ComputerCollege());
        list.add(new InfoCollege());
        Output output = new Output(list);
        output.printCollege();
    }
}
